package io.renren.modules.eas.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Collections;
import java.util.Date;
import java.util.List;

import lombok.Data;

/**
 * 学生评语表
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2023-09-26 23:32:06
 */
@Data
@TableName("eas_stu_comments")
public class EasStuCommentsEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 评语ID
	 */
	@TableId
	private Long id;
	/**
	 * 学校ID，关联eas_school表的id字段
	 */
	private Long schoolId;
	/**
	 * 年级ID，关联eas_grade表的id字段
	 */
	private Long gradeId;
	/**
	 * 班级ID，关联eas_class表的id字段
	 */
	private Long classId;
	/**
	 * 学年，例如：2023学年
	 */
	private String academicYear;
	/**
	 * 学期，例如：1表示第一学期，2表示第二学期
	 */
	private String semester;
	/**
	 * 评语内容
	 */
	private String comment;
	/**
	 * 评语字数
	 */
	private Integer commentNum;
	/**
	 * 关键词个数
	 */
	private Integer keywordsNum;
	/**
	 * 所属老师ID，关联eas_basic_teacher表的id字段
	 */
	private Long teacherId;
	/**
	 * 学生ID，关联eas_basic_student表的id字段
	 */
	private Long studentId;
	/**
	 * 关键词
	 */
	private String keywords;
	/**
	 * 是否展示给学生
	 */
	private Integer showStu;
	/**
	 * 创建时间
	 */
	private Date createTime;
	/**
	 * 创建者
	 */
	private Long createBy;
	/**
	 * 更新时间
	 */
	private Date updateTime;
	/**
	 * 更新者
	 */
	private Long updateBy;

	private Integer edu1Num;
	private Integer edu2Num;
	private Integer edu3Num;
	private Integer edu4Num;
	private Integer edu5Num;

	private String edu1Ids;
	private String edu2Ids;
	private String edu3Ids;
	private String edu4Ids;
	private String edu5Ids;

	@TableField(exist=false)
	private String name;


	@TableField(exist=false)
	private List<EasCommentKeysEntity> edu1Keys = Collections.emptyList();
	@TableField(exist=false)
	private List<EasCommentKeysEntity> edu2Keys = Collections.emptyList();
	@TableField(exist=false)
	private List<EasCommentKeysEntity> edu3Keys = Collections.emptyList();
	@TableField(exist=false)
	private List<EasCommentKeysEntity> edu4Keys = Collections.emptyList();
	@TableField(exist=false)
	private List<EasCommentKeysEntity> edu5Keys = Collections.emptyList();

}
